package JavaBase.Polymorphism;

public class Ape_Test {
    public static void main(String[] args) {
        Ape ape;
        ape=new People("小强");
        ape.speak();
        if(ape instanceof People)
        {
            People xiaoQiang=(People)ape;
            xiaoQiang.think();
        }
    }
}
